package com.mei.demo.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 基础 pojo，其余 pojo 请继承它
 * 
 * @author mei.xiaoliang@qq.com
 */
@Getter
@Setter
@ToString
public class BaseModel implements Serializable {

    private static final long serialVersionUID = 3556000664114522215L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer           id;

}